package $packageName$;

import org.osgi.framework.{BundleActivator,BundleContext}

class $activator$ extends BundleActivator {
	/*
	 * (non-Javadoc)
	 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
	 */
	override def start(context : BundleContext) : Unit = {
		Console.println("$startMessage$");
        $activator$.instance = this;
	}
	
	/*
	 * (non-Javadoc)
	 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
	 */
	override def stop(context : BundleContext) : Unit = {
		Console.println("$stopMessage$");
	}
}

/**
 * This is the singleton reference to the $activator$ activator object for this bundle
 */
object $activator$ {
   var instance : $activator$ = _  
}
